package com.wang.tool.lock.aop;

import com.wang.tool.lock.core.LockBody;

public @interface Lock {

    /**
     *
     * @return
     */
    String namespace() default LockBody.COMMON_NAMESPACE;


    /**
     *
     * @return
     */
    String keyExpress() default "";

    /**
     *
     * @return
     */
    int lockWaitTime() default -1;

    /**
     *
     * @return
     */
    int lockSecond() default -1;

}
